package com.compass.ui.client;

import com.extjs.gxt.ui.client.Style.ButtonScale;
import com.extjs.gxt.ui.client.widget.button.Button;
import com.google.gwt.user.client.ui.FlexTable;

public class ToolBar extends FlexTable
{
	public 	ToolBar()
	{
		super();
		Button plmButton = new Button("PLM");
		Button erpButton = new Button("ERP");
		Button scmButton = new Button("SCM");
		Button tool1Button = new Button("Outil 1");
		Button tool2Button = new Button("Outil 2");
		Button tool3Button = new Button("Outil 3");
		
		plmButton.setScale(ButtonScale.LARGE);
		erpButton.setScale(ButtonScale.LARGE);
		scmButton.setScale(ButtonScale.LARGE);
		tool1Button.setScale(ButtonScale.LARGE);
		tool2Button.setScale(ButtonScale.LARGE);
		tool3Button.setScale(ButtonScale.LARGE);
		
		setWidget(0, 0, plmButton);
		setWidget(0, 1, erpButton);
		setWidget(0, 2, scmButton);
		setWidget(0, 3, tool1Button);
		setWidget(0, 4, tool2Button);
		setWidget(0, 5, tool3Button);
	}
}
